WOLF core
WOLF: A Modular Estimation Framework for Robotics
XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0" name="MSearchResults" id="MSearchResults">
feature_motion.h
Go to the documentation of this file.
1// WOLF - Copyright (C) 2020-2026
2// Institut de Robòtica i Informàtica Industrial, CSIC-UPC.
3// Authors: Joan Solà Ortega (jsola@iri.upc.edu) and
4// Joan Vallvé Navarro (jvallve@iri.upc.edu)
5// All rights reserved.
6//
7// This file is part of WOLF: http://www.iri.upc.edu/wolf
8// WOLF is free software: you can redistribute it and/or modify
9// it under the terms of the GNU General Public License version 3
10// as published by the Free Software Foundation.
11//
12// This program is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// GNU General Public License for more details.
16//
17// You should have received a copy of the GNU General Public License
18// along with this program. If not, see <http://www.gnu.org/licenses/>.
19#pragma once
20
23
24namespace wolf
25{
27
29{
30 public:
31 FeatureMotion(const std::string& _type,
32 const Eigen::VectorXd& _delta_preint,
33 const Eigen::MatrixXd _delta_preint_cov,
34 const Eigen::VectorXd& _calib_preint,
35 const Eigen::MatrixXd& _jacobian_calib);
36 ~FeatureMotion() override;
37
38 const Eigen::VectorXd& getDeltaPreint() const;
39 const Eigen::VectorXd& getCalibrationPreint() const;
40 const Eigen::MatrixXd& getJacobianCalibration() const;
41
42 private:
43 Eigen::VectorXd calib_preint_;
44 Eigen::MatrixXd jacobian_calib_;
45};
46
47inline const Eigen::VectorXd& FeatureMotion::getDeltaPreint() const
48{
49 return measurement_;
50}
51
52inline const Eigen::VectorXd& FeatureMotion::getCalibrationPreint() const
53{
54 return calib_preint_;
55}
56
57inline const Eigen::MatrixXd& FeatureMotion::getJacobianCalibration() const
58{
59 return jacobian_calib_;
60}
61
62} /* namespace wolf */
Definition: feature_base.h:38
Eigen::VectorXd measurement_
the measurement vector
Definition: feature_base.h:53
Definition: feature_motion.h:29
const Eigen::VectorXd & getCalibrationPreint() const
Definition: feature_motion.h:52
FeatureMotion(const std::string &_type, const Eigen::VectorXd &_delta_preint, const Eigen::MatrixXd _delta_preint_cov, const Eigen::VectorXd &_calib_preint, const Eigen::MatrixXd &_jacobian_calib)
Definition: feature_motion.cpp:23
const Eigen::MatrixXd & getJacobianCalibration() const
Definition: feature_motion.h:57
const Eigen::VectorXd & getDeltaPreint() const
A new name for getMeasurement()
Definition: feature_motion.h:47
~FeatureMotion() override
Definition: feature_motion.cpp:35
Definition: capture_base.h:23
WOLF_PTR_TYPEDEFS(CaptureLandmarksExternal)